package cn.shop.front.entity.req;

import cn.shop.utils.constant.Constant;
import cn.shop.utils.enums.OrderStatus;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author jzw
 * @since 2021-11-30 09:51
 */
@Data
@Accessors(chain = true)
public class OrderQueryReq {

	/**
	 * 起始时间
	 */
	@DateTimeFormat(pattern = Constant.DATE_FORMAT)
	private LocalDate startTime;

	/**
	 * 结束时间
	 */
	@DateTimeFormat(pattern = Constant.DATE_FORMAT)
	private LocalDate endTime;

	/**
	 * 分区名
	 */
	private String partitionName;


	/**
	 * 卖家id
	 */
	private String sellerId;

	/**
	 * 商品状态
	 */
	private OrderStatus state;

	private Long orderId;


}
